home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / source / ctlmod / proc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1985-01-23  |  550 b   |  26 lines

  1. /*
  2. **  PROC.H -- process descriptors
  3. **
  4. **    Version:
  5. **        @(#)proc.h    8.1    12/31/84
  6. */
  7.  
  8. # ifndef CM_MAXPROC
  9.  
  10.  
  11. # define    CM_MAXPROC    10    /* maximum # of procs */
  12.  
  13. typedef struct
  14. {
  15.     char    pr_stat;    /* status byte for this proc, see below */
  16.     char    pr_file;    /* file descriptor to get to this proc */
  17.     char    pr_ninput;    /* new cm_input after writing to this proc */
  18. }  proc_t;
  19.  
  20. # define    PR_BCAST    00001    /* write broadcasts on this pipe */
  21. # define    PR_RADJCT    00002    /* adjacent on read pipe */
  22. # define    PR_WADJCT    00004    /* adjacent on write pipe */
  23.  
  24.  
  25. # endif CM_MAXPROC
  26.